//比较运算符： > < = != == === <= >=
let a =20
let b=10
//比较运算得到的是逻辑结果
if(a>b){
    console.log('a>b',20+'>'+10)
}
if(a!=b){
    console.log('a!=b',20+'!='+10)
}
if(a!==b){
    console.log('a!==b',20+'!=='+10)
}
//真true
if(2=='2'){
   console.log("2=='2'的结果是"+(2=='2')) 
}
//假false
console.log("2==='2'的结果是"+(2==='2'))